TryAddToAny Method

Task Parallel System.Threading

Overload List

  NameDescription
TryAddToAny(array<BlockingCollection<(Of <(T>)>)>[]()[], T)
Attempts to add the specified item to any one of the specified BlockingCollection<(Of <(T>)>) instances.
TryAddToAny(array<BlockingCollection<(Of <(T>)>)>[]()[], T, Int32)
Attempts to add the specified item to any one of the specified BlockingCollection<(Of <(T>)>) instances.
TryAddToAny(array<BlockingCollection<(Of <(T>)>)>[]()[], T, TimeSpan)
Attempts to add the specified item to any one of the specified BlockingCollection<(Of <(T>)>) instances.
TryAddToAny(array<BlockingCollection<(Of <(T>)>)>[]()[], T, Int32, CancellationToken)
Attempts to add the specified item to any one of the specified BlockingCollection<(Of <(T>)>) instances. A OperationCanceledException is thrown if the CancellationToken is canceled.

See Also